package cn.hanna.springcloud.service.hystriximpl;

import cn.hanna.springcloud.service.openfeignsevice.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * @author smileha
 * @create 2021-10-18 16:27
 * @description
 */
@Component
public class PaymentFallbackServiceImpl implements PaymentHystrixService {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentFallbackServiceImpl:paymentInfo_OK,出错啦！！！/(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentFallbackServiceImpl:paymentInfo_TimeOut,出错啦！！！/(ㄒoㄒ)/~~";
    }
}
